import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

export const getUnReadNoticesApi = generateRequest(`${apiUrlPrefix}/systemNotice/pageQuerySystemNotices`)

export const setReadNoticesApi = generateRequest(`${apiUrlPrefix}/systemNotice/markRead`)

export const setAllReadNoticesApi = generateRequest(`${apiUrlPrefix}/systemNotice/markAllRead`)
